package digital.store.springmvc.dao;

import java.util.List;

import digital.store.tutorial.springmvc.model.User;



public interface UserDao {
	public void saveOrUpdate(User user);

    public void delete(Long id);

    public List<User> findAll();

    public User findById(Long id);
    
    public User findByName(String firstName);
    
    public User checkUser(String username ,String password);
}
